home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 103
/
Vol 103.iso
/
games
/
tontie_h.swf
/
scripts
/
DefineSprite_361
/
frame_2
/
PlaceObject2_360_3
/
CLIPACTIONRECORD onClipEvent(enterFrame).as
next >
Wrap
Text File
|
2010-03-13
|
624b
|
35 lines
onClipEvent(enterFrame){
if(joutai == "up")
{
if(_Y > 0)
{
_Y = _Y - _parent.hitokoma;
}
else
{
_Y = 0;
_root.piko_ok = 1;
joutai = "top";
}
}
else if(joutai != "top")
{
if(joutai == "down")
{
if(_Y < _parent.soko)
{
_Y = _Y + _parent.hitokoma;
}
else
{
_Y = _parent.soko;
_root.mogura_on -= 1;
with(_parent)
{
gotoAndStop("off");
}
}
}
}
}